<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.List" %>
<%@ page import="com.master.entity.Team" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="sys/Css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="sys/Css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="sys/Css/style.css" />
    <script type="text/javascript" src="sys/Js/jquery.js"></script>
    <script type="text/javascript" src="sys/Js/jquery.sorted.js"></script>
    <script type="text/javascript" src="sys/Js/bootstrap.js"></script>
    <script type="text/javascript" src="sys/Js/ckform.js"></script>
    <script type="text/javascript" src="sys/Js/common.js"></script>

 

    <style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }


    </style>
</head>
<body>
<form class="form-inline definewidth m20" action="index.html" method="get">    
    <button type="button" class="btn btn-primary">课程管理</button>&nbsp;&nbsp; 
    <button type="button" class="btn btn-success" id="addnew">班级管理</button>&nbsp;&nbsp;
    <button type="button" class="btn btn-primary">教员管理</button>  
	
</form>
<div style="margin:0 auto;width:900px;border:1px solid #ccc;margin-top:40px;height:450px;">
	<div style="width:450px;border-right:1px solid #ccc;height:450px;float: left;">
		<table class="table table-bordered table-hover definewidth m10">
    <thead>
    <tr>
        <th>班级</th>
        <th>是否结业</th>
    </tr>
    </thead>
       <%
       List<Team> list = (List<Team>)request.getAttribute("list");
       for(Team t:list){%>
	     <tr>
            <td><a href=""><%=t.getTEAM_NAME() %></a></td>
            <td><%=t.getIS_COMPLETE() %></td>
            <td>
                <a href="sys/User/teamUpdate.jsp?id=<%=t.getTID() %>">修改</a>
            </td>
        </tr>
        <%} %>
</table>
	</div>
	<div style="width:400px;height:450px;float:left;">
		<form action="${pageContext.request.contextPath}/InsertServlet" method="post" class="definewidth m20" style="margin-top: 80px; margin-left: 35px;">
		<input type="hidden" name="id" value="" />
    	<table class="table table-bordered table-hover definewidth m10">
        <tr>
            <td width="10%" class="tableleft">班级</td>
            <td><input type="text" name="number" value=""/></td>
        </tr>
        <tr>
            <td class="tableleft"> 是否结业</td>
            <td><input type="text" name="school" value=""style="margin-top:25px;"/></td>
        </tr>
        
        <tr>
            <td class="tableleft"></td>
            <td>
                <button type="submit" class="btn btn-primary" type="button"style="margin-left: 105px;">确认添加</button>	
            </td>
        </tr>
    </table>
</form>    
	</div>
</div>
</body>
</html>
